<html lang='zh-CN'>
<head>
<meta charset='utf-8'>
	<style>
		ul {
			border: 0.1px solid #9e9e9e;
			border-top: 3px solid orange;
			padding: 0;
		}
		
		ul li {
        /* 行内排列且能定义宽高 */
			display: inline-block;
			padding: 10px;
			height: 15px;
			text-align: center;
        /* line-height 与 height相同，实现垂直居中 */
			line-height: 15px;
		}
		
		ul li:hover {
			color: orange;
			background-color: #fcfcfc;
			cursor: pointer;
		}
		
		
	</style>
	
</head>

<body>
	<div class='nav'>
		<ul>
			<li>首页</li>
			<li>手机新浪</li>
			<li>移动客户端</li>
			<li>博客</li>
			<li>微博</li>
			<li>关注我</li>
		</ul>
	</div>
</body>
<script>
	
</script>
</html>